#ifndef __SPI_H__
#define __SPI_H__

#ifdef __cplusplus
extern "C" {
#endif

#include "Input_Irkeymap.h"///////////hangsheng unmusked 20080801

#define FLAG 0xe1
	
// Initialize the SPI device
int  dev_UartInit(void);
int  dev_UartRead(unsigned char *buf);

int  dev_SPIRead(unsigned char *buf);
int  dev_SPIWrite(unsigned char *buf,int len);
 int send_data_out (unsigned char *buf,int num);


#ifdef __cplusplus
}
#endif

#endif
